package cn.msn.system.service.impl;

import cn.msn.system.domain.Systemdictionarytype;
import cn.msn.system.mapper.SystemdictionarydetailMapper;
import cn.msn.system.service.ISystemdictionarytypeService;
import cn.msn.basic.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 业务实现类：
 */
@Service
public class SystemdictionarytypeServiceImpl extends BaseServiceImpl<Systemdictionarytype> implements ISystemdictionarytypeService {
    @Autowired
    private SystemdictionarydetailMapper systemdictionarydetailMapper;
    @Override
    public void remove(Long id) {
        systemdictionarydetailMapper.removeByTypesId(id);
        super.remove(id);
    }

    @Override
    public void patchRemove(List<Long> ids) {
        systemdictionarydetailMapper.patchRemoveByTypesId(ids);
        super.patchRemove(ids);
    }
}
